<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Repetier-Firmware: src/ArduinoAVR/Repetier/motion.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="icon128.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Repetier-Firmware
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('motion_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">motion.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="motion_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_nonlinear_segment.html">NonlinearSegment</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_print_line.html">PrintLine</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a6a2aad6af3e26a70043bb667d9fe6722"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#a6a2aad6af3e26a70043bb667d9fe6722">FLAG_WARMUP</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a6a2aad6af3e26a70043bb667d9fe6722"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d532b3a91829ce965b11bee7ce4a121"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#a6d532b3a91829ce965b11bee7ce4a121">FLAG_NOMINAL</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:a6d532b3a91829ce965b11bee7ce4a121"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae80288e7929d2dd9a7a4aedcbbb53dbc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#ae80288e7929d2dd9a7a4aedcbbb53dbc">FLAG_DECELERATING</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:ae80288e7929d2dd9a7a4aedcbbb53dbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c78abde6b572b9cce3ba10bd79b5c7b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#a2c78abde6b572b9cce3ba10bd79b5c7b">FLAG_ACCELERATION_ENABLED</a>&#160;&#160;&#160;8</td></tr>
<tr class="separator:a2c78abde6b572b9cce3ba10bd79b5c7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4928545b38f0d9f7c1cef343171db6b6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#a4928545b38f0d9f7c1cef343171db6b6">FLAG_CHECK_ENDSTOPS</a>&#160;&#160;&#160;16</td></tr>
<tr class="separator:a4928545b38f0d9f7c1cef343171db6b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91042aaf3cefe55cabf89a9fc450c834"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#a91042aaf3cefe55cabf89a9fc450c834">FLAG_ALL_E_MOTORS</a>&#160;&#160;&#160;32</td></tr>
<tr class="separator:a91042aaf3cefe55cabf89a9fc450c834"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc633f974340414dfcc3da9489f8a9c3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#afc633f974340414dfcc3da9489f8a9c3">FLAG_SKIP_DEACCELERATING</a>&#160;&#160;&#160;64</td></tr>
<tr class="separator:afc633f974340414dfcc3da9489f8a9c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafd724d9cac420e263072927b00d9a45"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#aafd724d9cac420e263072927b00d9a45">FLAG_BLOCKED</a>&#160;&#160;&#160;128</td></tr>
<tr class="separator:aafd724d9cac420e263072927b00d9a45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f7d3ac3ef6f32915b3893dd59c3ca9b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#a5f7d3ac3ef6f32915b3893dd59c3ca9b">FLAG_JOIN_STEPPARAMS_COMPUTED</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a5f7d3ac3ef6f32915b3893dd59c3ca9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59de958cd229719951c39ec47980612a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#a59de958cd229719951c39ec47980612a">FLAG_JOIN_END_FIXED</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:a59de958cd229719951c39ec47980612a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd2aa0f699051519425a93e6d2b3ea86"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#afd2aa0f699051519425a93e6d2b3ea86">FLAG_JOIN_START_FIXED</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:afd2aa0f699051519425a93e6d2b3ea86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3200ea7e0c130f7954f879bf2134652"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#ae3200ea7e0c130f7954f879bf2134652">FLAG_JOIN_START_RETRACT</a>&#160;&#160;&#160;8</td></tr>
<tr class="separator:ae3200ea7e0c130f7954f879bf2134652"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bce9130720024781aa7d8b24b08d1fc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#a6bce9130720024781aa7d8b24b08d1fc">FLAG_JOIN_END_RETRACT</a>&#160;&#160;&#160;16</td></tr>
<tr class="separator:a6bce9130720024781aa7d8b24b08d1fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c722c1ac9bb7f554885dc6d746d1283"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#a6c722c1ac9bb7f554885dc6d746d1283">FLAG_JOIN_NO_RETRACT</a>&#160;&#160;&#160;32</td></tr>
<tr class="separator:a6c722c1ac9bb7f554885dc6d746d1283"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20fd0b9b6301f01d0127ab40b93ca860"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#a20fd0b9b6301f01d0127ab40b93ca860">FLAG_JOIN_WAIT_EXTRUDER_UP</a>&#160;&#160;&#160;64</td></tr>
<tr class="separator:a20fd0b9b6301f01d0127ab40b93ca860"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8e3ee431a59c64705f133d526eb435b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#ac8e3ee431a59c64705f133d526eb435b">FLAG_JOIN_WAIT_EXTRUDER_DOWN</a>&#160;&#160;&#160;128</td></tr>
<tr class="separator:ac8e3ee431a59c64705f133d526eb435b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a214efd6b4f0d3ad28de96d5c9b5ace87"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="motion_8h.html#a214efd6b4f0d3ad28de96d5c9b5ace87">lastMoveID</a></td></tr>
<tr class="separator:a214efd6b4f0d3ad28de96d5c9b5ace87"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a2c78abde6b572b9cce3ba10bd79b5c7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c78abde6b572b9cce3ba10bd79b5c7b">&#9670;&nbsp;</a></span>FLAG_ACCELERATION_ENABLED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_ACCELERATION_ENABLED&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a91042aaf3cefe55cabf89a9fc450c834"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91042aaf3cefe55cabf89a9fc450c834">&#9670;&nbsp;</a></span>FLAG_ALL_E_MOTORS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_ALL_E_MOTORS&#160;&#160;&#160;32</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aafd724d9cac420e263072927b00d9a45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafd724d9cac420e263072927b00d9a45">&#9670;&nbsp;</a></span>FLAG_BLOCKED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_BLOCKED&#160;&#160;&#160;128</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4928545b38f0d9f7c1cef343171db6b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4928545b38f0d9f7c1cef343171db6b6">&#9670;&nbsp;</a></span>FLAG_CHECK_ENDSTOPS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_CHECK_ENDSTOPS&#160;&#160;&#160;16</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae80288e7929d2dd9a7a4aedcbbb53dbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae80288e7929d2dd9a7a4aedcbbb53dbc">&#9670;&nbsp;</a></span>FLAG_DECELERATING</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_DECELERATING&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a59de958cd229719951c39ec47980612a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59de958cd229719951c39ec47980612a">&#9670;&nbsp;</a></span>FLAG_JOIN_END_FIXED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_JOIN_END_FIXED&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The right speed is fixed. Don't check this block or any block to the left. </p>

</div>
</div>
<a id="a6bce9130720024781aa7d8b24b08d1fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6bce9130720024781aa7d8b24b08d1fc">&#9670;&nbsp;</a></span>FLAG_JOIN_END_RETRACT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_JOIN_END_RETRACT&#160;&#160;&#160;16</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Wait for filament push back, before ending move </p>

</div>
</div>
<a id="a6c722c1ac9bb7f554885dc6d746d1283"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c722c1ac9bb7f554885dc6d746d1283">&#9670;&nbsp;</a></span>FLAG_JOIN_NO_RETRACT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_JOIN_NO_RETRACT&#160;&#160;&#160;32</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Disable retract for this line </p>

</div>
</div>
<a id="afd2aa0f699051519425a93e6d2b3ea86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd2aa0f699051519425a93e6d2b3ea86">&#9670;&nbsp;</a></span>FLAG_JOIN_START_FIXED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_JOIN_START_FIXED&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The left speed is fixed. Don't check left block. </p>

</div>
</div>
<a id="ae3200ea7e0c130f7954f879bf2134652"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3200ea7e0c130f7954f879bf2134652">&#9670;&nbsp;</a></span>FLAG_JOIN_START_RETRACT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_JOIN_START_RETRACT&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Start filament retraction at move start </p>

</div>
</div>
<a id="a5f7d3ac3ef6f32915b3893dd59c3ca9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f7d3ac3ef6f32915b3893dd59c3ca9b">&#9670;&nbsp;</a></span>FLAG_JOIN_STEPPARAMS_COMPUTED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_JOIN_STEPPARAMS_COMPUTED&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Are the step parameter computed </p>

</div>
</div>
<a id="ac8e3ee431a59c64705f133d526eb435b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8e3ee431a59c64705f133d526eb435b">&#9670;&nbsp;</a></span>FLAG_JOIN_WAIT_EXTRUDER_DOWN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_JOIN_WAIT_EXTRUDER_DOWN&#160;&#160;&#160;128</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Wait for the extruder to finish it's down movement </p>

</div>
</div>
<a id="a20fd0b9b6301f01d0127ab40b93ca860"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20fd0b9b6301f01d0127ab40b93ca860">&#9670;&nbsp;</a></span>FLAG_JOIN_WAIT_EXTRUDER_UP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_JOIN_WAIT_EXTRUDER_UP&#160;&#160;&#160;64</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Wait for the extruder to finish it's up movement </p>

</div>
</div>
<a id="a6d532b3a91829ce965b11bee7ce4a121"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d532b3a91829ce965b11bee7ce4a121">&#9670;&nbsp;</a></span>FLAG_NOMINAL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_NOMINAL&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afc633f974340414dfcc3da9489f8a9c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc633f974340414dfcc3da9489f8a9c3">&#9670;&nbsp;</a></span>FLAG_SKIP_DEACCELERATING</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_SKIP_DEACCELERATING&#160;&#160;&#160;64</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a6a2aad6af3e26a70043bb667d9fe6722"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a2aad6af3e26a70043bb667d9fe6722">&#9670;&nbsp;</a></span>FLAG_WARMUP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FLAG_WARMUP&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Marks the first step of a new move </p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a214efd6b4f0d3ad28de96d5c9b5ace87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a214efd6b4f0d3ad28de96d5c9b5ace87">&#9670;&nbsp;</a></span>lastMoveID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t lastMoveID</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_cdf0096ae548159f0698b0a71289cf6c.html">ArduinoAVR</a></li><li class="navelem"><a class="el" href="dir_360d65efbdba454d299657bac363b72c.html">Repetier</a></li><li class="navelem"><a class="el" href="motion_8h.html">motion.h</a></li>
    <li class="footer">Generated on Tue Sep 19 2017 18:54:00 for Repetier-Firmware by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
